package com.gopay.common.domain.cps;

import java.io.Serializable;

import javax.persistence.*;

import java.sql.Timestamp;
import java.math.BigDecimal;


/**
 * The persistent class for the CPS_BATCH_PAY_TASK database table.
 * 
 */
@Entity
@Table(name="CPS_BATCH_PAY_TASK")
public class CpsBatchPayTask implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="CPS_BATCH_PAY_TASK_BATCHTASKID_GENERATOR", sequenceName="CPS_BATCH_PAY_TASK_SEQ")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CPS_BATCH_PAY_TASK_BATCHTASKID_GENERATOR")
	@Column(name="BATCH_TASK_ID")
	private long batchTaskId;

	@Column(name="BATCH_AMT")
	private BigDecimal batchAmt;

	@Column(name="BATCH_COUNT")
	private BigDecimal batchCount;

	@Column(name="BATCH_NUM")
	private String batchNum;

	@Column(name="BATCH_PROCESS_STATUS")
	private String batchProcessStatus;

	@Column(name="BATCH_TYPE")
	private BigDecimal batchType;

	@Column(name="CREATED_TS")
	private Timestamp createdTs;

	@Column(name="GOPAY_TXN_TM")
	private Timestamp gopayTxnTm;

	@Column(name="LAST_UPD_TRANCODE")
	private String lastUpdTrancode;

	@Column(name="LAST_UPD_TS")
	private Timestamp lastUpdTs;

	@Column(name="LAUNCH_USER_ID")
	private String launchUserId;

	@Column(name="ORIGINAL_FILE_NAME")
	private String originalFileName;

	@Column(name="ORIGINAL_FILE_PATH")
	private String originalFilePath;

	@Column(name="PAY_ACCT")
	private String payAcct;

	@Column(name="PAY_CUST_ID")
	private String payCustId;

	private String remark1;

	private String remark2;

	@Column(name="TRAN_FINISH_TIME")
	private Timestamp tranFinishTime;
	
	@Version
	@Column(name="\"VERSION\"")
	private int version;
	
	/**
	 * 是否T+1优化
	 */
	@Column(name = "IS_OPTIMIZING_SETTLE")
	private Integer isOptimizingSettle;
	
	/**
	 * 结算周期类型 00- T+N 第n个交易日结算;01- D+N 每日结算
	 */
	@Column(name = "SETTLEMENT_TYPE")
	private String settlementType;
	
	public CpsBatchPayTask() {
	}

	public long getBatchTaskId() {
		return this.batchTaskId;
	}

	public void setBatchTaskId(long batchTaskId) {
		this.batchTaskId = batchTaskId;
	}

	public BigDecimal getBatchAmt() {
		return this.batchAmt;
	}

	public void setBatchAmt(BigDecimal batchAmt) {
		this.batchAmt = batchAmt;
	}

	public BigDecimal getBatchCount() {
		return this.batchCount;
	}

	public void setBatchCount(BigDecimal batchCount) {
		this.batchCount = batchCount;
	}

	public String getBatchNum() {
		return this.batchNum;
	}

	public void setBatchNum(String batchNum) {
		this.batchNum = batchNum;
	}

	public String getBatchProcessStatus() {
		return this.batchProcessStatus;
	}

	public void setBatchProcessStatus(String batchProcessStatus) {
		this.batchProcessStatus = batchProcessStatus;
	}

	public BigDecimal getBatchType() {
		return this.batchType;
	}

	public void setBatchType(BigDecimal batchType) {
		this.batchType = batchType;
	}

	public Timestamp getCreatedTs() {
		return this.createdTs;
	}

	public void setCreatedTs(Timestamp createdTs) {
		this.createdTs = createdTs;
	}

	public Timestamp getGopayTxnTm() {
		return this.gopayTxnTm;
	}

	public void setGopayTxnTm(Timestamp gopayTxnTm) {
		this.gopayTxnTm = gopayTxnTm;
	}

	public String getLastUpdTrancode() {
		return this.lastUpdTrancode;
	}

	public void setLastUpdTrancode(String lastUpdTrancode) {
		this.lastUpdTrancode = lastUpdTrancode;
	}

	public Timestamp getLastUpdTs() {
		return this.lastUpdTs;
	}

	public void setLastUpdTs(Timestamp lastUpdTs) {
		this.lastUpdTs = lastUpdTs;
	}

	public String getLaunchUserId() {
		return this.launchUserId;
	}

	public void setLaunchUserId(String launchUserId) {
		this.launchUserId = launchUserId;
	}

	public String getOriginalFileName() {
		return this.originalFileName;
	}

	public void setOriginalFileName(String originalFileName) {
		this.originalFileName = originalFileName;
	}

	public String getOriginalFilePath() {
		return this.originalFilePath;
	}

	public void setOriginalFilePath(String originalFilePath) {
		this.originalFilePath = originalFilePath;
	}

	public String getPayAcct() {
		return this.payAcct;
	}

	public void setPayAcct(String payAcct) {
		this.payAcct = payAcct;
	}

	public String getPayCustId() {
		return this.payCustId;
	}

	public void setPayCustId(String payCustId) {
		this.payCustId = payCustId;
	}

	public String getRemark1() {
		return this.remark1;
	}

	public void setRemark1(String remark1) {
		this.remark1 = remark1;
	}

	public String getRemark2() {
		return this.remark2;
	}

	public void setRemark2(String remark2) {
		this.remark2 = remark2;
	}

	public Timestamp getTranFinishTime() {
		return this.tranFinishTime;
	}

	public void setTranFinishTime(Timestamp tranFinishTime) {
		this.tranFinishTime = tranFinishTime;
	}

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

	public Integer getIsOptimizingSettle() {
		return isOptimizingSettle;
	}

	public void setIsOptimizingSettle(Integer isOptimizingSettle) {
		this.isOptimizingSettle = isOptimizingSettle;
	}

	public String getSettlementType() {
		return settlementType;
	}

	public void setSettlementType(String settlementType) {
		this.settlementType = settlementType;
	}

}